package main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

// 启动命令：java -jar -Xmx4g jvm.jar &
// jps
// jstat -gc 19262
// jinfo 19262
// jstack 19262
// jstack -l 31551 >> dump.log
// jmap -heap 19262
// jmap -dump:live,format=b,file=dump1.log 19262
// jmap -dump:format=b,file=dump1.log 19262
@SpringBootApplication
@ComponentScan(basePackages = "main.sql")
@MapperScan({"main.sql"})
public class TestSpringApplicationDemo {

    public static void main(String[] args) {
        SpringApplication.run(TestSpringApplicationDemo.class, args);
    }

}
